obj= exit_as exit_gcc maximum
ASCOMMEND=as -g $^ -o $@

all: $(obj)

exit_as: exit_as.s
	as exit_as.s -o exit_as.o
	ld exit_as.o -o exit_as

exit_gcc: exit_gcc.s
	gcc exit_gcc.s -o exit_gcc

maximum: maximum.s
	gcc -no-pie maximum.s -o maximum

clean:
	-rm $(obj) *.o